<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>确认订单</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <div>
    	确认收货地址<br/>
    	<c:if test="${not empty receivers}">
    		已有收货地址<br/>
    		<c:forEach item="${receivers}" var="receiver">
    			<div>
    				${receiver.name } <br/>
    				${receiver.mobile } <br/>
    				${receiver.address } <br/>
    				${receiver.zip } <br/>   				
    			</div>
    		</c:forEach>
    	</c:if>
    	    	
    	使用新地址<br/>
    </div>
    <div>
    	确认订单信息<br/>
    	<table>
    		<tr>
    			<td>商品名称</td>
    			<td>单价</td>
    			<td>数量</td>
    			<td>小计</td>
    			<td>配送方式</td>
    		</tr>
    	</table>
    	实付款:<br/>
    	
    	<button>提交订单</button>
    </div>
  </body>
</html>
